home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Apple Shared Library Manager / ASLM 2.0.1 Licensing Disk / Sources / ASLMAtoms.r < prev    next >
Encoding:
Text File  |  1996-11-19  |  5.9 KB  |  266 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ASLMAtoms.r
  3.  
  4.     Contains:    All resource, action, and file atoms use by the ASLM Installer.
  5.  
  6.     Copyright:    Â© 1992-1994 by Apple Computer, Inc., all rights reserved.
  7.  
  8. */
  9.  
  10. INCLUDE    "ShutdownActionAtom.RSRC" 'aatm' (0) as 'aatm' (0, $$Name, $$Attributes);
  11. INCLUDE    "FixFmapActionAtom.RSRC" 'aatm' (0) as 'aatm' (1, $$Name, $$Attributes);
  12.  
  13. /**********************************************************************
  14. ** File atoms for the "EtherTalk Phase 2" file.
  15. ***********************************************************************/
  16.  
  17. resource 'infa' (faEtherTalkPhase2)
  18. {
  19.     format0
  20.     {
  21.         StdRemCopy,
  22.  
  23.         fsTrgEtherTalkPhase2,        /* target file spec id        */
  24.         fsSrcEtherTalkPhase2,        /* source file spec id        */
  25.         0,                            /* atom size                */
  26.         ""                             /* Atom Name/Description    */
  27.     };
  28. };
  29.  
  30. /**********************************************************************
  31. ** File atoms for the "Shared Library Manager" and 
  32. ** "Shared Library Manager PPC" files.
  33. ***********************************************************************/
  34.  
  35. #if GENERATING68K
  36.     resource 'infa' (faSharedLibraryManager)
  37.     {
  38.         format0
  39.         {
  40.             StdRemCopy,
  41.     
  42.             fsTgtSharedLibraryManager,    /* target file spec id        */
  43.             fsSrcSharedLibraryManager,    /* source file spec id        */
  44.             0,                            /* atom size                */
  45.             ""                             /* Atom Name/Description    */
  46.         };
  47.     };
  48. #endif
  49.  
  50. #if GENERATINGPOWERPC
  51.     resource 'infa' (faSharedLibraryManagerPPC)
  52.     {
  53.         format0
  54.         {
  55.             StdRemCopy,
  56.     
  57.             fsTgtSharedLibraryManagerPPC,    /* target file spec id        */
  58.             fsSrcSharedLibraryManagerPPC,    /* source file spec id        */
  59.             0,                                /* atom size                */
  60.             ""                                 /* Atom Name/Description    */
  61.         };
  62.     };
  63. #endif
  64.  
  65. /**********************************************************************
  66. ** Action Atoms
  67. ***********************************************************************/
  68.  
  69. resource 'inaa' (aaShutDownActionAtom)
  70. {
  71.     format0
  72.     {
  73.         actBefore, actOnRemove, actOnInstall,
  74.         'aatm',                                /* resource type */
  75.         0,                                    /* resource ID */
  76.         0,                                    /* refcon */
  77.         "Shutting down the Shared Library Manager…",    /* installer message to user */
  78.     };
  79. };
  80.  
  81. resource 'inaa' (aaFixFmapActionAtom)
  82. {
  83.     format0
  84.     {
  85.         actBefore, dontActOnRemove, actOnInstall,
  86.         'aatm',                                /* resource type */
  87.         1,                                    /* resource ID */
  88.         0,                                    /* refcon */
  89.         "",    /* installer message to user */
  90.     };
  91. };
  92.  
  93. /**********************************************************************
  94. ** Resource Atoms
  95. ***********************************************************************/
  96.  
  97. #if GENERATING68K
  98.     resource 'inra' (raAddINIT19) 
  99.     {
  100.         format0 
  101.         {
  102.             StdRemResCopy,
  103.             
  104.             fsSystemFile,                /* Target File Spec            */ 
  105.             fsASLMResources,            /* Source File Spec            */
  106.             
  107.             'INIT',                        /* Resource Type            */
  108.             19,                            /* Source ID                */
  109.             19,                            /* Target ID                */
  110.             0,                            /* Atom size                */
  111.             "",                            /* Atom Name/Description    */
  112.             "",                            /* Resource Name            */
  113.         };
  114.     };
  115.  
  116.     resource 'inra' (raAddAINI32700) 
  117.     {
  118.         format0 
  119.         {
  120.             StdRemResCopy,
  121.             
  122.             fsSystemFile,                /* Target File Spec            */ 
  123.             fsASLMResources,            /* Source File Spec            */
  124.             
  125.             'AINI',                        /* Resource Type            */
  126.             -32700,                        /* Source ID                */
  127.             -32700,                        /* Target ID                */
  128.             0,                            /* Resource size            */
  129.             "",                            /* Atom Name/Description    */
  130.             "ASLM68KLoader",            /* Resource Name            */
  131.         };
  132.     };
  133. #endif
  134.  
  135. #if GENERATINGPOWERPC
  136.     resource 'inra' (raAddAINI32702) 
  137.     {
  138.         format0 
  139.         {
  140.             StdRemResCopy,
  141.     
  142.             fsSystemFile,                /* Target File Spec            */ 
  143.             fsASLMResources,            /* Source File Spec            */
  144.             
  145.             'AINI',                        /* Resource Type            */
  146.             -32702,                        /* Source ID                */
  147.             -32702,                        /* Target ID                */
  148.             0,                            /* Resource size            */
  149.             "ASLMPPCLoader",            /* Resource Name            */
  150.             "",                            /* Atom Name/Description    */
  151.         };
  152.     };
  153. #endif
  154.  
  155. #if GENERATING68K
  156.     resource 'inra' (raDeleteINIT17) 
  157.     {
  158.         format0 
  159.         {
  160.             StdResDelete,
  161.             
  162.             fsSystemFile,                /* Target File Spec            */ 
  163.             0,                            /* Source File Spec            */
  164.             
  165.             'INIT',                        /* Resource Type            */
  166.             17,                            /* Source ID                */
  167.             17,                            /* Target ID                */
  168.             0,                            /* Atom size                */
  169.             "",                            /* Atom Name/Description    */
  170.             "",                            /* Resource Name            */
  171.         };
  172.     };
  173.  
  174.     resource 'inra' (raDeleteINIT19) 
  175.     {
  176.         format0 
  177.         {
  178.             StdResDelete,
  179.             
  180.             fsSystemFile,                /* Target File Spec            */ 
  181.             0,                            /* Source File Spec            */
  182.             
  183.             'INIT',                        /* Resource Type            */
  184.             19,                            /* Source ID                */
  185.             19,                            /* Target ID                */
  186.             0,                            /* Atom size                */
  187.             "",                            /* Atom Name/Description    */
  188.             "",                            /* Resource Name            */
  189.         };
  190.     };
  191.     
  192.     resource 'inra' (raDeleteINIT22) 
  193.     {
  194.         format0 
  195.         {
  196.             StdResDelete,
  197.             
  198.             fsSystemFile,                /* Target File Spec            */ 
  199.             0,                            /* Source File Spec            */
  200.             
  201.             'INIT',                        /* Resource Type            */
  202.             22,                            /* Source ID                */
  203.             22,                            /* Target ID                */
  204.             0,                            /* Atom size                */
  205.             "",                            /* Atom Name/Description    */
  206.             "",                            /* Resource Name            */
  207.         };
  208.     };
  209.     
  210.     resource 'inra' (raDeleteAINI1) 
  211.     {
  212.         format0 
  213.         {
  214.             StdResDelete,
  215.             
  216.             fsSystemFile,                /* Target File Spec            */ 
  217.             0,                            /* Source File Spec            */
  218.             
  219.             'AINI',                        /* Resource Type            */
  220.             1,                            /* Source ID                */
  221.             1,                            /* Target ID                */
  222.             0,                            /* Atom size                */
  223.             "",                            /* Atom Name/Description    */
  224.             "",                            /* Resource Name            */
  225.         };
  226.     };
  227. #endif
  228.  
  229. #if GENERATINGPOWERPC
  230.     resource 'inra' (raDeleteAINI3) 
  231.     {
  232.         format0 
  233.         {
  234.             StdResDelete,
  235.             
  236.             fsSystemFile,                /* Target File Spec            */ 
  237.             0,                            /* Source File Spec            */
  238.             
  239.             'AINI',                        /* Resource Type            */
  240.             3,                            /* Source ID                */
  241.             3,                            /* Target ID                */
  242.             0,                            /* Atom size                */
  243.             "",                            /* Atom Name/Description    */
  244.             "",                            /* Resource Name            */
  245.         };
  246.     };
  247.     
  248.     resource 'inra' (raDeleteAINI32698) 
  249.     {
  250.         format0 
  251.         {
  252.             StdResDelete,
  253.             
  254.             fsSystemFile,                /* Target File Spec            */ 
  255.             0,                            /* Source File Spec            */
  256.             
  257.             'AINI',                        /* Resource Type            */
  258.             -32698,                        /* Source ID                */
  259.             -32698,                        /* Target ID                */
  260.             0,                            /* Atom size                */
  261.             "",                            /* Atom Name/Description    */
  262.             "",                            /* Resource Name            */
  263.         };
  264.     };
  265. #endif
  266.